#ifndef GAMEOBJECT_H
#define GAMEOBJECT_H

#include <QGraphicsPixmapItem>
#include <QPixmap>
#include <QSoundEffect>
#include<QGraphicsScene>

class GameObject : public QGraphicsPixmapItem
{
public:
    GameObject(QGraphicsItem *parent = nullptr);
    virtual void update() = 0;
    virtual int type() const = 0;

    enum ObjectType {
        PlayerType = 1,
        ObstacleType = 2
    };
};

#endif // GAMEOBJECT_H
